x86/HVM: unify and fix #UD intercept
authorJan Beulich <jbeulich@suse.com>
Thu, 12 Nov 2015 16:00:31 +0000 (17:00 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 12 Nov 2015 16:00:31 +0000 (17:00 +0100)
commit4f7da683718768041b26f2b526879477cf7b5d76
tree77fe33bdf5fc45dda187880bef67b4da626b832c
parent057e0e72d2a5d598087c5f167ec6a13203a3cf65
x86/HVM: unify and fix #UD intercept

The SVM and VMX versions really were identical, so instead of fixing
the same issue in two places, fold them at once. The issue fixed is the
missing seg:off -> linear translation of the current code address.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/vmx/vmx.c
xen/include/asm-x86/hvm/hvm.h
xen/include/asm-x86/hvm/support.h